package info.bondtnt.labs.model.research;

import org.eclipse.emf.ecore.EObject;

/**
 * @model
 */
public interface AbstractBoundedGenericParameter<Type> extends EObject {

	/**
	 * @model
	 */
	public abstract String getName();

	/**
	 * Sets the value of the '{@link info.bondtnt.labs.model.research.AbstractBoundedGenericParameter#getName <em>Name</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Name</em>' attribute.
	 * @see #getName()
	 * @generated
	 */
	void setName(String value);

	/**
	 * @model changeable="false" transient="true"
	 */
	public abstract Integer countOfValues();

	/**
	 * Returns value according to its index. 
	 * First index is 0; Last index is (countOfValues() - 1);  
	 * First value usually is less than last;
	 * 
	 * @model changeable="false"
	 */
	public abstract Type getValueByIndex(Integer index);
	
}
